<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
    <title>吉象出海 - 头条新闻</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary: #EAA82A;  /* 大象黄 - 品牌主色 */
            --secondary: #2E8B57; /* 森林绿 - 辅助色 */
            --dark: #1a2e3b;     /* 深蓝色 */
            --danger: #D0021B;   /* 警示红 */
            --text: #374151;    /* 主要文字色 */
            --light-bg: #F8F9FA; /* 浅灰背景 */
            --card-shadow: 0 2px 12px rgba(0,0,0,0.06);
        }
                /* 全局链接样式 */
        a {
            color: inherit;
            text-decoration: none;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        }
        
        body {
            background-color: #fff;
            color: var(--text);
            max-width: 428px;
            margin: 0 auto;
            padding-bottom: 0;
            position: relative;
            line-height: 1.6;
        }
        
        /* 顶部品牌区域 - 与home.html一致 */
        .brand-header {
            text-align: center;
            padding: 12px 0;
            background: linear-gradient(to bottom, #ffffff, #F8F9FA);
            position: relative;
            border-radius: 0;
            margin-bottom: 0;
            color: var(--primary);
            border-bottom: none;
        }
        
        .brand-title {
            font-size: 22px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 4px;
            position: relative;
            display: inline-block;
        }
        
        .brand-subtitle {
            font-size: 12px;
            color: var(--text);
            letter-spacing: 2px;
            opacity: 0.8;
            margin-top: 0;
            padding: 0;
            line-height: normal;
        }
        
        .elephant-decoration {
            position: absolute;
            top: 15px;
            left: 20px;
            opacity: 0.15;
            font-size: 32px;
            transform: rotate(-15deg);
            z-index: 0;
            color: var(--primary);
        }
        
        /* 新闻列表页样式 */
        .news-filters {
            display: flex;
            padding: 15px;
            overflow-x: auto;
            gap: 8px;
            background: white;
            border-bottom: 1px solid #eee;
            scrollbar-width: none; /* Firefox */
        }
        
        .news-filters::-webkit-scrollbar {
            display: none; /* Chrome/Safari */
        }
        
        .filter-item {
            padding: 8px 15px;
            background: var(--light-bg);
            border-radius: 20px;
            font-size: 14px;
            white-space: nowrap;
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .filter-item.active {
            background: var(--primary);
            color: white;
            font-weight: 500;
        }
        
        .news-list {
            padding: 0 15px;
        }
        
        .news-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 15px;
            box-shadow: var(--card-shadow);
            transition: all 0.3s ease;
        }
        
        .news-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(0,0,0,0.12);
        }
        
        .news-image {
            height: 180px;
            background: #e2e8f0;
            position: relative;
        }
        
        .news-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: var(--secondary);
            color: white;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 500;
        }
        
        .news-content {
            padding: 15px;
        }
        
        .news-title {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .news-excerpt {
            font-size: 14px;
            color: #666;
            margin-bottom: 12px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .news-meta {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: #999;
        }
        
        /* 新闻详情页样式 */
        #newsDetailPage {
            display: none;
            padding-bottom: 80px;
        }
        
        .article-container {
            padding: 0 15px;
        }
        
        .article-header {
            margin-bottom: 20px;
        }
        
        .article-title {
            font-size: 20px;
            font-weight: 800;
            margin-bottom: 12px;
            line-height: 1.4;
        }
        
        .article-meta {
            display: flex;
            align-items: center;
            font-size: 13px;
            color: #666;
            margin-bottom: 15px;
        }
        
        .article-date {
            margin-right: 12px;
        }
        
        .article-source {
            padding: 3px 8px;
            background: var(--light-bg);
            border-radius: 4px;
        }
        
        .article-image {
            height: 200px;
            background: #e2e8f0;
            border-radius: 12px;
            margin-bottom: 20px;
        }
        
        .article-content {
            font-size: 15px;
            line-height: 1.8;
            color: #333;
        }
        
        .article-content p {
            margin-bottom: 15px;
        }
        
        .article-content h3 {
            font-size: 18px;
            font-weight: 700;
            margin: 25px 0 12px;
            padding-left: 12px;
            border-left: 4px solid var(--primary);
        }
        
        .article-content ul {
            padding-left: 20px;
            margin-bottom: 20px;
        }
        
        .article-content li {
            margin-bottom: 8px;
            position: relative;
        }
        
        .article-content li::before {
            content: "";
            position: absolute;
            left: -16px;
            top: 8px;
            width: 6px;
            height: 6px;
            background: var(--primary);
            border-radius: 50%;
        }
        
        .recommended-section {
            margin-top: 30px;
            border-top: 1px solid #eee;
            padding-top: 20px;
        }
        
        .section-title {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 15px;
            position: relative;
            padding-left: 12px;
        }
        
        .section-title::before {
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 16px;
            background: var(--primary);
            border-radius: 2px;
        }
        
        /* 返回按钮 */
        .back-btn {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--light-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            cursor: pointer;
        }
        
        /* 页面标题 */
        .page-title {
            font-size: 18px;
            font-weight: 700;
            text-align: center;
            padding: 15px 0;
            position: relative;
        }
        
        /* 底部导航 - 与home.html一致 */
        .tab-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            background: white;
            box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
            padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
            z-index: 1000;
            max-width: 428px;
            margin: 0 auto;
            border-radius: 20px 20px 0 0;
        }
        
        .tab-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 8px 5px 10px;
            min-height: 60px;
            border-radius: 16px;
            margin: 0 5px;
            transition: all 0.2s ease;
            position: relative;
            cursor: pointer;
        }
        
        .tab-item::after {
            content: '';
            position: absolute;
            top: -15px;
            bottom: -15px;
            left: 0;
            right: 0;
        }
        
        .tab-icon {
            font-size: 1.4rem;
            margin-bottom: 4px;
            transition: all 0.2s ease;
        }
        
        .tab-label {
            font-size: 12px;
            font-weight: 500;
            transition: all 0.2s ease;
        }
        
        .tab-item.active {
            background: rgba(234, 168, 42, 0.15);
        }
        
        .tab-item.active .tab-icon {
            color: var(--primary);
            transform: scale(1.1);
        }
        
        .tab-item.active .tab-label {
            color: var(--primary);
            font-weight: 600;
        }
        
        .tab-item:not(.active):hover {
            background: rgba(0, 0, 0, 0.03);
        }
        
        .tab-item:not(.active) .tab-icon {
            color: #6c757d;
        }
        
        .tab-item:not(.active) .tab-label {
            color: #495057;
        }
        
        /* 响应式调整 */
        @media (max-width: 375px) {
            .brand-title {
                font-size: 20px;
            }
            
            .brand-subtitle {
                font-size: 11px;
            }
            
            .tab-icon {
                font-size: 1.3rem;
            }
            
            .tab-label {
                font-size: 11px;
            }
            
            .article-title {
                font-size: 18px;
            }
        }
    </style>
</head>
<body>
    <!-- 顶部品牌区域 - 与home.html一致 -->
    <header class="brand-header">
          <div class="back-btn" id="backBtn">
            <i class="fas fa-arrow-left"></i>
        </div>
        <div class="brand-title">吉象出海</div>
        <div class="brand-subtitle">泰国专业房地产服务平台</div>
    </header>
   

<style>
/* CSS */
.back-btn {
    font-size: 20px;
    color: #EAA82A; /* 主色 */
    cursor: pointer;
    padding: 10px;
}
</style>

<script>
// JavaScript
document.getElementById('backBtn').addEventListener('click', function() {
    window.location.href = 'home.html';
});
</script>
    
    <!-- 新闻列表页 -->
    <div id="newsListPage">
        <div class="page-title">
            <div class="back-btn" style="visibility: hidden;"></div>
            头条新闻
        </div>
        
        <div class="news-filters">
            <div class="filter-item active">全部</div>
            <div class="filter-item">土地动态</div>
            <div class="filter-item">政策解读</div>
            <div class="filter-item">市场分析</div>
            <div class="filter-item">中介资讯</div>
            <div class="filter-item">成功案例</div>
        </div>
        
        <div class="news-list">
            <div class="news-card" onClick="showDetail(1)">
                <div class="news-image">
                    <div class="news-badge">土地动态</div>
                </div>
                <div class="news-content">
                    <h2 class="news-title">喜报！本站新增多处黄色土地租赁信息</h2>
                    <p class="news-excerpt">为满足中资企业在泰投资扩产需求，本站经与泰国地方政府及园区持续协商，现新增多处手续完备、区位优越的黄色土地开放租赁...</p>
                    <div class="news-meta">
                        <span>2025-06-03</span>
                        <span>阅读 1420</span>
                    </div>
                </div>
            </div>
            
            <div class="news-card" onClick="showDetail(2)">
                <div class="news-image">
                    <div class="news-badge">政策解读</div>
                </div>
                <div class="news-content">
                    <h2 class="news-title">泰国BOI新政解读：2025年工业用地税收优惠升级</h2>
                    <p class="news-excerpt">泰国投资促进委员会(BOI)宣布2025年税收优惠政策调整，针对东部经济走廊(EEC)工业用地提供更优惠的税收减免政策...</p>
                    <div class="news-meta">
                        <span>2025-05-28</span>
                        <span>阅读 892</span>
                    </div>
                </div>
            </div>
            
            <div class="news-card" onClick="showDetail(3)">
                <div class="news-image">
                    <div class="news-badge">成功案例</div>
                </div>
                <div class="news-content">
                    <h2 class="news-title">中资企业在罗勇成功购地建厂经验分享</h2>
                    <p class="news-excerpt">某新能源汽车企业通过本站平台成功在罗勇府购置200莱工业用地，从选址到投产仅用时9个月，创下中资企业落地新纪录...</p>
                    <div class="news-meta">
                        <span>2025-05-20</span>
                        <span>阅读 1567</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 新闻详情页 -->
    <div id="newsDetailPage">
        <div class="page-title">
            <div class="back-btn" onClick="showList()"><i class="fas fa-chevron-left"></i></div>
            头条详情
        </div>
        
        <div class="article-container">
            <div class="article-header">
                <h1 class="article-title">喜报！本站新增多处黄色土地租赁信息</h1>
                <div class="article-meta">
                    <span class="article-date">2025-06-03 15:39</span>
                    <span class="article-source">土地动态</span>
                </div>
            </div>
            
            <div class="article-image"></div>
            
            <div class="article-content">
                <p>为满足中资企业在泰投资扩产需求，本站经与泰国地方政府及园区持续协商，现新增<strong>多处手续完备、区位优越的黄色土地（工业用途）开放租赁</strong>。</p>
                
                <h3>核心优势：</h3>
                <ul>
                    <li><strong>合法产权清晰：</strong> 土地用途明确，支持工厂、仓储等建设需求；</li>
                    <li><strong>基建配套完善：</strong> 临近港口/高速公路，部分地块享投资促进委员会（BOI）税收优惠；</li>
                    <li><strong>全流程服务：</strong> 提供政策咨询、法律尽调、手续代办等一站式支持。</li>
                </ul>
                
                <p>本次新增地块主要分布在罗勇府和春武里府工业走廊，具有以下特点：</p>
                
                <ul>
                    <li>地块面积从50莱到500莱不等，满足不同规模企业需求</li>
                    <li>距林查班港平均距离15公里，物流成本降低30%</li>
                    <li>工业用电保障完善，电价较国内低18%</li>
                    <li>全部地块已完成环境评估，符合国际标准</li>
                </ul>
                
                <p>平台已开通<strong>绿色预约通道</strong>，中资企业用户可优先实地考察。成功签约用户可享本站提供的以下增值服务：</p>
                
                <ul>
                    <li>泰国法律顾问免费咨询（价值50,000泰铢）</li>
                    <li>BOI申请材料准备指导</li>
                    <li>本地施工团队推荐</li>
                </ul>
            </div>
            
            <div class="recommended-section">
                <h2 class="section-title">相关推荐</h2>
                
                <div class="news-card" onClick="showDetail(2)">
                    <div class="news-image"></div>
                    <div class="news-content">
                        <h2 class="news-title">泰国BOI新政解读：2025年工业用地税收优惠升级</h2>
                        <div class="news-meta">
                            <span>2025-05-28</span>
                            <span>阅读 892</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 底部导航 - 与home.html一致 -->

    <div class="tab-bar">
        <a href="home.html" class="tab-item active">
            <div class="tab-icon"><i class="fas fa-home"></i></div>
            <div class="tab-label">首页</div>
        </a>
        <a href="message.html" class="tab-item">
            <div class="tab-icon"><i class="fas fa-comment-dots"></i></div>
            <div class="tab-label">消息</div>
        </a>
        <a href="postlist.html" class="tab-item">
            <div class="tab-icon"><i class="fas fa-plus-circle"></i></div>
            <div class="tab-label">发布</div>
        </a>
        <a href="entrust.html" class="tab-item">
            <div class="tab-icon"><i class="fas fa-handshake"></i></div>
            <div class="tab-label">委托</div>
        </a>
        <a href="profile.html" class="tab-item">
            <div class="tab-icon"><i class="fas fa-user"></i></div>
            <div class="tab-label">我的</div>
        </a>
    </div>
    
    
    <script>
        // 页面切换功能
        function showDetail(id) {
            document.getElementById('newsListPage').style.display = 'none';
            document.getElementById('newsDetailPage').style.display = 'block';
        }
        
        function showList() {
            document.getElementById('newsListPage').style.display = 'block';
            document.getElementById('newsDetailPage').style.display = 'none';
        }
        
        // 初始化隐藏详情页
        document.getElementById('newsDetailPage').style.display = 'none';
        
        // 分类筛选交互
        document.querySelectorAll('.filter-item').forEach(item => {
            item.addEventListener('click', function() {
                document.querySelectorAll('.filter-item').forEach(i => {
                    i.classList.remove('active');
                });
                this.classList.add('active');
            });
        });
        
        // 底部导航交互
        document.querySelectorAll('.tab-item').forEach(item => {
            item.addEventListener('click', function() {
                document.querySelectorAll('.tab-item').forEach(i => {
                    i.classList.remove('active');
                });
                this.classList.add('active');
                
                // 根据点击的tab跳转到对应页面
                const label = this.querySelector('.tab-label').textContent;
                if (label === '首页') {
                    window.location.href = 'home.html';
                } else if (label === '头条') {
                    window.location.href = 'news.html';
                } else if (label === '发布') {
                    window.location.href = 'post.html';
                }
                // 其他页面跳转逻辑...
            });
        });
        
        // 卡片悬停效果
        document.querySelectorAll('.news-card').forEach(card => {
            card.addEventListener('mouseenter', function() {
                this.style.transform = 'translateY(-3px)';
            });
            
            card.addEventListener('mouseleave', function() {
                this.style.transform = 'translateY(0)';
            });
        });
    </script>
</body>
</html>